package com.jiazaibendi.lottery.dao.mapper;

import com.jiazaibendi.lottery.dao.domain.WinRecord;
import com.jiazaibendi.lottery.dao.domain.WinRecordExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface WinRecordMapper {
    long countByExample(WinRecordExample example);

    int deleteByExample(WinRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(WinRecord record);

    int insertSelective(WinRecord record);

    List<WinRecord> selectByExample(WinRecordExample example);

    WinRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") WinRecord record, @Param("example") WinRecordExample example);

    int updateByExample(@Param("record") WinRecord record, @Param("example") WinRecordExample example);

    int updateByPrimaryKeySelective(WinRecord record);

    int updateByPrimaryKey(WinRecord record);
}